@charset "utf-8";
// sass 基础依赖
@import "../basic/variables";
@import "../basic/mixins";
@import "../basic/default";

//我的
.user-top-wrap {
  position: relative;
  .user-top-bg {
    width: 100%;
    height: 256px;
  }
  .user-top-box {
    position: absolute;
    left: 24px;
    bottom: -50px;
    display: flex;
    .user-top-head {
      border-radius: 50%;
      @include square(160px);
      box-shadow: 0px 8Px 12Px 0px rgba(0, 0, 0, .2);
    }
    .user-top-title {
      margin-top: 20px;
      margin-left: 28.8px;
      P {
        color: #000;
        &:first-of-type {
          margin: 0;
          font-size: 32px;
        }
        &:last-of-type {
          margin-top: 8px;
          margin-bottom: 0;
          font-size: 24px;
        }
      }
    }
  }
}

.user-nav-wrap {
  height: 146px;
  padding-left: 48px;
  padding-right: 24.6px;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  &:active {
    background-color: $active;
  }
  .user-nav-left {
    display: flex;
    align-items: center;
    .user-nav-icon {
      @include square(80px)
    }
    .user-nav-box {
      margin-left: 24px;
      p {
        &:first-of-type {
          margin: 0;
          font-size: 32px;
          color: #000;
        }
        &:last-of-type {
          margin-top: 8px;
          margin-bottom: 0;
          font-size: 24px;
          color: #9B9B9B;
        }
      }
    }
  }
  .user-nav-right {
    display: flex;
    align-items: center;
    .user-nav-state {
      font-size: 24px;
      color: #F6A623;
    }
    .user-nav-arrow {
      margin-left: 16px;
      opacity: .1;
      width: 22.8px;
      height: 53.2px;
    }
  }
}

.user-line {
  margin-top: -2px;
  margin-left: 50px;
  width: 700px;
  height: 2px;
  background-color: #E9EEF0;
}

//个人设置

.setting-list {
  margin-top: 32px;
  .setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 108px;
    padding: 0 48px;
    background-color: #fff;
    span {
      color: #9B9B9B;
      font-size: 32px;
      &:first-of-type {
        color: #9B9B9B;
      }
      &:nth-of-type(2) {
        color: #000;
      }
    }
    img {
      display: block;
      @include square(80px);
      border-radius: 50%;
    }
  }
  .setting-item-placeholder {
    margin-top: 32px;
  }
}

.setting-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  .setting-btn {
    width: 712px;
    height: 96px;
    display: block;
    border-radius: 8px;
    border: none;
    color: #000;
    font-size: 33px;
    background-color: #FFE227;
    &:active {
      background-color: $yellow-pressed !important;
    }
  }
}

.setting-line {
  margin-left: 47px;
  margin-top: -2px;
  background-color: #E9EEF0;
  height: 2px;
}

//关于地主校园
.about-top-wrap {
  margin-top: 80.4px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  img {
    display: block;
    width: 220px;
    height: 258px;
  }
  p {
    &:first-of-type {
      margin-top: 16px;
      margin-bottom: 0;
      font-size: 32px;
      color: #000000;
    }
    &:last-of-type {
      margin-top: 16px;
      margin-bottom: 0;
      font-size: 24px;
      color: #9B9B9B;
    }
  }
}

.about-list {
  margin-top: 140px;
  background-color: #fff;
  padding: 0 48px;
  .about-item {
    display: flex;
    height: 100px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1Px solid #ddd;
    font-size: 28px;
    &:last-of-type {
      border-bottom: none;
    }
    span {
      &:first-of-type {
        color: $gray;
      }
      &:nth-of-type(2) {
        color: #000;
      }
    }
    a {
      color: #3f9cff;
    }
  }
}

//优惠券列表

.coupon-item {
  width: 702px;
  background-color: #fff;
  margin: 0 auto 28px auto;
  box-shadow: 0 4px 16px 0 #DDE9F5;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  &:active {
    background-color: #EEF1F5;;
  }
  .coupon-item-left {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 192px;
    background-color: #F6A623;
    color: #fff;

    .coupon-item-price {
      margin-bottom: 8px;
      span {
        color: #fff;
        &:first-of-type {
          vertical-align: 2px;
          font-size: 44px;
          line-height: 1;
        }
        &:last-of-type {
          line-height: 1;
          font-size: 80px;
        }
      }

    }
    .coupon-item-specifications {
      color: #fff;
      font-size: 22px;
    }


  }
  .coupon-item-left-used{
    background-color: #ACB6C2;
  }
  .coupon-item-line {
    width: 8px;
    height: 200px;
    margin-left: -5px;
  }
  .coupon-item-right {
    width: 487px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 16px;
    .coupon-item-title {
      P {
        &:first-of-type {
          margin-top: 24px;
          margin-bottom: 0;
          font-size: 32px;
          color: #000;
          @include text-truncate(1);
        }
        &:last-of-type {
          margin-top: 8px;
          margin-bottom: 0;
          font-size: 24px;
          color: #9B9B9B;
        }
      }
    }
    .coupon-item-btnwrap {
      display: flex;
      justify-content: space-between;
      .coupon-item-btn {
        width: 228px;
        height: 60px;
        background-color: #fff;
        border-radius: 8px;
        color: #F5A623;
        border: 2px solid #F5A623;
      }
      .coupon-item-arrow {
        align-self: flex-end;
        @include square(32.6px);
        margin-right: 14px;

      }
    }
  }
  .coupon-item-title-used{
    color: #9B9B9B;
  }

}

.coupon-null-img {
  margin-top: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  img {
    display: block;
    width: 286px;
    height: 218px;
  }
}
